namespace Ellwood.Manage.Common.Core.result;

/// <summary>
/// 分页相关配置
/// </summary>
public class PagingData<T> where T : class
{

    /// <summary>
    /// 总数量
    /// </summary>
    public int RecordCount { get; set; }
    
    /// <summary>
    /// 当前第几页
    /// </summary>
    public int PageIndex { get; set; }
    
    /// <summary>
    /// 每页多少条
    /// </summary>
    public int PageSize { get; set; }
    
    /// <summary>
    /// 当前页数据集合
    /// </summary>
    public List<T>? DataList { get; set; }
    
    /// <summary>
    /// 搜索
    /// </summary>
    public string? SearchString { get; set; }

}